InAppConfig

@Serializable
data class InAppConfig(val optOutActivities: List<String>, val isShowInAppInNewActivityEnabled: Boolean)

Since

Todo: Add Version

Parameters

optOutActivities

list of class names for Activities on which in-app should not be shown.

isShowInAppInNewActivityEnabled

If true, SDK does not directly attach the in-app to the application's activity. The default value of this flag is false.

Constructors

Link copied to clipboard
constructor(optOutActivities: Set<Class<*>>?, isShowInAppInNewActivityEnabled: Boolean)
constructor(optOutActivities: Set<Class<*>>?)
constructor(optOutActivities: List<String>)
constructor(isAdditionalActivityEnabled: Boolean)
constructor(optOutActivities: List<String>, isShowInAppInNewActivityEnabled: Boolean)

InApp Configuration Object with optOutActivities and isShowInAppInNewActivityEnabled

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If true, SDK does not directly attach the in-app to the application's activity. The default value of this flag is false.

Link copied to clipboard

List of class names for activities which extends AppCompatActivity

Functions

Link copied to clipboard
fun addScreenName(clazz: Class<*>)

Add a screen name to the block list.

Link copied to clipboard
fun addScreenNames(className: String)
fun addScreenNames(classNames: List<String>)
fun addScreenNames(clazzSet: Set<Class<*>>)

Add a set of screen name to the block list.

Link copied to clipboard